﻿namespace StudentBackendService.ViewObjects
{
    public class Response
    {
        public object? Data { get; set; } = null;
        public short Code { get; set; } = 200;
        public string? Message { get; set; } = "";

        public static Response Success(object? data)
        {
            return new Response { Code = 200, Data = data };
        }
    }
}
